package com.itcg.library.service;

import com.itcg.library.pojo.Books;
import com.itcg.library.pojo.BooksPageQuery;
import com.itcg.library.pojo.PageBean;

import java.util.List;

//操作Books的业务层接口
public interface BooksService {
    void insert(Books books);

    void batchDelete(List<Integer> ids);

    void updates(Books books);

    Books findById(Integer id);

    PageBean<Books> findByConditions(BooksPageQuery booksPageQuery);

    PageBean<Books> findByConditions2(BooksPageQuery booksPageQuery);
}